function reactivateWindow(comp_id,username)
{
	document.getElementById('JTDivWindowReactivate').Show();
	document.getElementById('lblUsernameReact').innerHTML = username;
	document.getElementById('hfCompanyId').value = comp_id;
}
var xmlhttp
function reactivate(company_id)
{
xmlhttp=GetXmlHttpObject();
if (xmlhttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  }
var exp_date = document.getElementById("f-calendar-field-1").value;  
var pack = document.getElementById("cmbPackage").value;
var url="reactivate_ajax.php";
url=url+"?company_id="+company_id;
url=url+"&exp_date="+exp_date;
url=url+"&pack="+pack;
if(confirm("Are you sure you want reactivate this account?"))
{
xmlhttp.onreadystatechange=stateChangedReact;
xmlhttp.open("GET",url,true);
xmlhttp.send(null);
}
}

function stateChangedReact()
{
if (xmlhttp.readyState==4)
  {
  window.location.href='admin_manage_users.php';
  }
}